/* delete the existing catalogue */
proc datasets library=fmtpth memtype=(catalog);
  delete formats / memtype=catalog;
run;

proc format library=fmtpth;
  value smoke
    .='missing'
    1='current smoker'
    2='former smoker'
    3='never smoked'
    ;
run;
